package com.ht.medicaltreatment.view

import android.app.Dialog
import android.content.Context
import android.content.Intent
import android.view.LayoutInflater
import android.view.View
import com.ht.medicaltreatment.R
import com.xgst.lib.utils.ActivityLifecycleManager
import com.xgst.lib.utils.ScreenUtils

class SubmitSuccessDialog(context: Context) : Dialog(context, R.style.dialogStyle) {
    init {
        val view =
            LayoutInflater.from(context).inflate(R.layout.activity_main, null, false)
        setContentView(view)
        val attributes = window!!.attributes
        attributes.width= ScreenUtils.dp2px(context,480)
        attributes.height= ScreenUtils.dp2px(context,360)
        window!!.attributes = attributes
        setCancelable(false)

    }

}